package com.example.testdemo.dongproxy;

import com.example.testdemo.dongproxy.service.UserService;
import com.example.testdemo.dongproxy.service.impl.UserServiceImpl;

/**
 * <b><code>testMain</code></b>
 * <p>
 * Description 静态代理
 * <p>
 * <b>Create Time:</b> 2021/9/26 22:44.
 *
 * @author qd.yt
 * @version 0.0.1
 * @since test-demo v0.0.1
 */
public class testMain {
  public static void main(String[] args) {
    //
    UserService userServiceImpl = new UserServiceImpl();
    UserService proxy = new UserServiceProxy(userServiceImpl);

    proxy.select();
    proxy.update();
  }
}
